﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Function
{
    class SumResult
    {
        public int sum(int a,int b)
        {
            return a + b;
        }
        public double sum(double a,double b)
        {
            return a + b;
        }
        public string sum(string a,string b)
        {
            return a + b;
        }
        public int sum(int a)
        {
            
            int sum = 10;
            if (a % sum == 0)
            {
                Console.WriteLine("这个数可以被10整除");
            }
            else
            {
                Console.WriteLine("不可被整除");
            }
            return sum;
        }
    }
}
